Repository navigation
feat(agent): cut words by transcript ID - #857
EtienneLescot merged 3 commits into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to The new tool applies selected word trims without exposing partial edits when an operation fails. No actionable merge-blocking risk was established; proceed with normal checks. Security Architecture Review
Pre-merge checks |
|
Any cut chosen by transcript word IDs (fillers, a flubbed phrase, a duplicate take) now goes through one tool. Words consecutive in the transcript become a single trim, so a phrase leaves no inter-word gaps playing.
2f847ef to
686d669
Compare
|
Rebased onto main as linear commits (your authorship kept) and generalized the tool into |
EtienneLescot
left a comment
There was a problem hiding this comment.
Reviewed: generalised to removeWords (any word-level cut by transcript ID), guardrails unchanged, adjacent words cut as one trim. Thanks @auberginewly!
Summary
removeWords, that cuts spoken words chosen by theirgetTranscriptWordsIDs: fillers, a flubbed or repeated phrase, a false start, a duplicate take. The Agent picks the occurrences from the surrounding speech; the executor never classifies words or removes every matching text.assetIdqualifies IDs, which restart per asset), validate its source timestamps, and require exactly one clip to contain the whole word before editing. Reject the entire request on a missing, invalid, duplicate, already-cut, or ambiguous target.addTrimexecutor (cut shaping andcutTransitionswarnings included); the result reports each word with the trim actually stored.technical-documentation/architecture/ai-agent.mdlists it.Related issue
Closes #853
Type of change
Release impact
Desktop impact
Screenshots / video
No UI changes.
Testing
vitest --runonagent-tools.test.ts,deep-agent/service.test.ts,openscreen-mcp-server.test.ts: 210 passed.tsc --noEmitandtsc -p tsconfig.test.json --noEmit: passed.Known limitations
🤖 Generated with Claude Code